package cn.huaqingcheng.tianshu.core.uc.service;

import cn.huaqingcheng.tianshu.core.uc.dto.AccountParam;
import cn.huaqingcheng.tianshu.core.uc.model.Account;

import java.util.Optional;

/**
 * AccountService
 */
public interface AccountService {

    Optional<Account> getByUsername(String username);

    Optional<Account> getById(Long id);

    Account updateAccount(Long accountId, AccountParam accountParam);

}
